<div class="btn-group pull-right" style="margin-right: 10px">
    <a class="btn btn-sm btn-twitter" href="{{ $downloadUrl }}" target="_blank"><i class="fa fa-download"></i> 导出</a>
</div>
@if(\Encore\Admin\Facades\Admin::user()->can('amazon-sku.edit'))
    <div class="btn-group pull-right" style="margin-right: 10px">
        <a href="/xqc/products/amazon-sku/create" class="btn btn-sm btn-success" title="新增">
            <i class="fa fa-plus"></i><span class="hidden-xs">&nbsp;&nbsp;新增</span>
        </a>
    </div>
    <div class="btn-group pull-right" style="margin-right: 10px">
        <button class="btn btn-sm btn-twitter">导入文件</button>
        <button type="button" class="btn btn-sm btn-twitter dropdown-toggle" data-toggle="dropdown">
            <span class="caret"></span>
            <span class="sr-only">Toggle Dropdown</span>
        </button>
        <ul class="dropdown-menu" role="menu">
            <li><a href="/xqc/products/amazon-sku-upload?type=sku">导入产品</a></li>
            <li><a href="/xqc/products/amazon-sku-upload?type=sku-up">更新产品</a></li>
        </ul>
    </div>
@endif
